/* 记得更换路径 */

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?hxg8pd');
    src: url('../fonts/icomoon.eot?hxg8pd#iefix') format('../embedded-opentype'), url('../fonts/icomoon.ttf?hxg8pd') format('truetype'), url('../fonts/icomoon.woff?hxg8pd') format('woff'), url('../fonts/icomoon.svg?hxg8pd#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.w {
    width: 1200px;
    margin: 0 auto;
}

.fl {
    float: left;
}

.fr {
    float: right;
}


/* 注意类名命名 */

.style_red {
    color: #c81623;
}

.style_blue {
    color: #1ba1e6;
}


/* 快捷导航模块 */

.shortcut {
    height: 31px;
    /* 行高加给父元素 */
    line-height: 31px;
    background-color: #f1f1f1;
}

.shortcut ul li {
    float: left;
}


/* 竖线的实现方法：用bgc，宽度设置为1 */

.shortcut .fr ul li:nth-child(even) {
    margin: 10px 14px 0;
    /* 记得加宽高 */
    width: 1px;
    height: 12px;
    /* border: 1px solid #000; */
    background-color: #666;
}

.arrow_iron::after {
    margin-left: 6px;
    content: '\e900';
    font-family: 'icomoon';
}


/* 头部 */

.header {
    position: relative;
    height: 105px;
}


/* 加定位确定位置 */

.header .logo {
    position: absolute;
    top: 25px;
    width: 171px;
    height: 61px;
}


/* 图片给链接a */

.header .logo h1 a {
    display: block;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png) no-repeat;
    font-size: 0;
}


/* 搜索框 */

.search {
    /* 尝试用margin定位居中 失败：绝对定位脱标*/
    /* margin: 0 auto; */
    position: absolute;
    top: 25px;
    left: 346px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
}

.search input {
    float: left;
    width: 454px;
    height: 32px;
    /* 建议用行高撑开上下 */
    /* padding: 9px 10px; */
    padding-left: 10px;
}

.search button {
    float: left;
    width: 80px;
    height: 32px;
    background-color: #b1191a;
    color: #fff;
    line-height: 32px;
    font-size: 16px;
}

.hotwords {
    position: absolute;
    top: 68px;
    left: 347px;
}

.hotwords ul li {
    float: left;
    margin: 0 12px 0 12px;
}

.shopcar {
    position: absolute;
    top: 26px;
    right: 64px;
    width: 140px;
    height: 36px;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
    text-align: center;
    line-height: 36px;
}


/* 用伪元素来做小车车和箭头 */

.shopcar a::before {
    margin-right: 4px;
    content: '\e90d';
    font-family: 'icomoon';
    color: #b1191a;
}

.shopcar a::after {
    margin-left: 5px;
    content: '\e90b';
    font-family: 'icomoon';
}

.count {
    position: absolute;
    top: -5px;
    left: 100px;
    height: 14px;
    padding: 0 5px;
    background-color: #e60012;
    color: #fff;
    line-height: 14px;
    border-radius: 7px 7px 7px 0;
}


/* 导航栏 */

.nav {
    height: 47px;
    border-bottom: 2px solid #b1191a;
    /* color: #fff; */
}

.nav .dropdown {
    float: left;
    width: 210px;
    height: 45px;
    background-color: #b1191a;
}


/* 全部分类及下拉菜单 */

.dropdown .dt {
    width: 100%;
    height: 100%;
    line-height: 45px;
    text-align: center;
    font-size: 16px;
    color: #fff;
}

.dropdown .dd {
    /* 后期注释掉 */
    /* display: none; */
    width: 210px;
    height: 465px;
    margin-top: 2px;
    background-color: #c81623;
}

.dropdown .dd ul li {
    width: 208px;
    height: 31px;
    margin-left: 2px;
    padding-left: 10px;
    line-height: 31px;
}

.dropdown .dd ul li:hover {
    background-color: #fff;
}

.dropdown .dd ul li:hover a {
    color: #c81623;
}

.dropdown .dd ul li a {
    font-size: 14px;
    color: #fff;
}


/* 导航栏的箭头 */

.dropdown .dd ul li::after {
    float: right;
    margin-right: 10px;
    content: "\e90b";
    font-family: 'icomoon';
    color: #fff;
}


/* 导航栏右侧部分 */

.nav .navitems ul li:first-child {
    margin-left: 15px;
}

.nav .navitems ul li {
    float: left;
    font-size: 16px;
}


/* 建议给a撑开盒子，让点击面积变大 */

.nav .navitems ul li a {
    height: 41px;
    line-height: 41px;
    padding: 0 24px;
}


/* 底部模块 */

.footer {
    height: 417px;
    padding: 30px 0 40px 0;
    background-color: #f5f5f5;
}

.mod_service {
    height: 81px;
    border-bottom: 1px solid #ededed;
}

.mod_service ul li {
    float: left;
    width: 240px;
    height: 50px;
    /* 这里建议用padding撑开盒子 */
    padding-left: 35px;
    /* margin: 0 35px; */
}

.mod_service ul li h5 {
    float: left;
    width: 50px;
    height: 50px;
    margin-right: 8px;
    background: url(../images/icons.png) no-repeat -253px -3px;
}


/* 精灵图 */

.mod_service ul li:nth-child(2) h5 {
    background-position: -255px -54px;
}

.mod_service ul li:nth-child(3) h5 {
    background-position: -257px -105px;
}

.mod_service ul li:nth-child(4) h5 {
    background-position: -258px -156px;
}

.mod_service ul li:nth-child(5) h5 {
    background-position: -258px -207px;
}

.mod_service ul li h4 {
    padding-top: 7px;
    font-size: 14px;
}


/* 底部帮助 */

.mod_help {
    height: 188px;
    border-bottom: 1px solid #ededed;
    padding-top: 20px;
    padding-left: 50px;
}

.mod_help dl {
    float: left;
    /* margin-right: ; */
    /* 这里建议给宽度撑开盒子 */
    width: 200px;
}

.mod_help dl dt {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.mod_help dl:last-child {
    width: 90px;
    text-align: center;
}

.mod_copyright {
    padding-top: 20px;
    text-align: center;
}

.link {
    margin-bottom: 12px;
}

.link ul li {
    display: inline-block;
    border-left: 1px solid #666;
    padding: 0 5px 0 7px;
}

.link ul li:first-child {
    border-left: 0;
}

.copyright {
    /* height: 26px; */
    line-height: 26px;
}